<?php

class Component {
    private $id;
    private $class;
    private $baseDir;
    private $scope = 'prototype';
    private $properties;
    private $constructor;

    public function getId() {
        return $this->id;
    }

    public function setId($id) {
        $this->id = $id;
    }

    public function getClass() {
        return $this->class;
    }

    public function setClass($class) {
        $this->class = $class;
    }

    public function getBaseDir() {
        return $this->baseDir;
    }

    public function setBaseDir($baseDir) {
        if ($baseDir) {
            $this->baseDir = $baseDir;
        }
    }

    public function getScope() {
        return $this->scope;
    }

    public function setScope($scope) {
        if ($scope) {
            $this->scope = $scope;
        }
    }

    public function getProperties() {
        return $this->properties;
    }

    public function setProperties($properties) {
        $this->properties = $properties;
    }

    public function getConstructor() {
        return $this->constructor;
    }

    public function setConstructor($constructor) {
        $this->constructor = $constructor;
    }
    
}
